package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Profile;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

/**
 * @author void
 * @date 2021/5/18 18:06
 * @desc
 */
@Profile("mini")
@EnableAuthorizationServer
@SpringBootApplication
public class AuthServerApplicationMini {

    public static void main(String[] args) {
        SpringApplication.run(AuthServerApplicationMini.class, args);
    }
}
